package com.nikkerball.apps.darkhorse.rules;

import com.nikkerball.apps.darkhorse.model.base.NameObject;
import com.nikkerball.apps.darkhorse.model.security.SecurityContext;

/**
 * TODO: Document class
 *
 * @author marius (created on 2010-12-05)
 */
public interface RuleEngine {

    // ----- public methods -----

    boolean isRuleSatisfied(SecurityContext securityContext, NameObject nameObject, RuleName actionName);

    void addRule(Rule rule);

}
